<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2022/3/14
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        table{
            border: 1px solid red;
            border-collapse: collapse;
            width: 500px;
            height: 300px;
        }
        table tr,td,th{
            border: 1px solid red;
        }
    </style>
</head>
<body>
<center>
    <table>
        <tr>
            <th>电影编号</th>
            <th>电影名称</th>
            <th>电影价格</th>
        </tr>
        <c:forEach items="${select}" var="f">
            <tr>
                <td>${f.fid}</td>
                <td>${f.fname}</td>
                <td>${f.price}</td>
            </tr>
        </c:forEach>
    </table>
</center>
</body>
</html>
